var bcrypt = require('bcryptjs')
var salt = bcrypt.genSaltSync(10) // 加密级别

const jiami = (tel) => {
  return bcrypt.hashSync(tel, salt)
}
const jiemi = (tel) => {
  return bcrypt.compareSync(password, pwd) // 前为输入，后为数据库
}
export {
  jiami,
  jiemi
}
